package com.mark.springsecurity.service;

import com.mark.springsecurity.domain.SysUser;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface UserService {
    void save(SysUser buildSysUser);

    Page<SysUser> findAll(Example<SysUser> buildExample, Pageable pageable);

    SysUser getOne(long id);

    void update(SysUser build);

    void delete(Long id);
}
